package com.chenyue.cm.payment.service.impl;


import com.chenyue.cm.base.dao.LcBaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.order.dao.JdProductMapper;
import com.chenyue.cm.order.domain.JdProduct;
import com.chenyue.cm.payment.service.JdProductService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.Serializable;

/**
 * @author LBX
 */
@Service(value = "JdProductService")
public class JdProductServiceImpl extends BaseServiceImpl<JdProduct> implements JdProductService {

    private final JdProductMapper JdProductMapper;

    public JdProductServiceImpl(@Qualifier("jdProductMapper") JdProductMapper jdProductMapper) {
        JdProductMapper = jdProductMapper;
    }

    @Override
    @Resource(name = "jdProductMapper")
    public void setBaseMapper(LcBaseMapper<JdProduct, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }


}
